<div>
 <input #int class="input1" type="text" placeholder="请输入"  [ngClass]="{'input2':flag}"  (focus)="onFocus()" (blur)="onBlur()">
</div>


